home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3widget.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_WIDGET_H = 1;
- include("oops/r3root.js")
-
-
- var R3CLID_WIDGET = 41;
-
-
-
-
- // Description: Refresh widget
-
- R3WGM_REFRESH = 41000;
-
- function mR3WGM_REFRESH() {
- DoA(this.r3obj, 41000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Ask widget to map all of its events to another object.
- // Returns: Boolean, TRUE if succeeded
- // p3: Tag[], see tags for mapchanges below
-
- R3WGM_MAPCHANGES = 41001;
-
- function mR3WGM_MAPCHANGES(p3) {
- return Do(this.r3obj, 41001, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Don't map changes after this
- // Returns: Boolean, TRUE if succeeded
- // p3: Tag[], same tags as in the corresponding MAPCHANGES call
-
- R3WGM_UNMAPCHANGES = 41002;
-
- function mR3WGM_UNMAPCHANGES(p3) {
- return Do(this.r3obj, 41002, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: This method asks widget to map a specific method to other objects registered for
- // the widget using MAPCHANGES method.
- // p1: Integer, code which will be passed to mapping targets in p1
- // p2: Integer, map type, either R3WGMAPTYPE_VALUE or R3WGMAPTYPE_EVENT
- // p3: Object, data passed to mapping targets in p3.
-
- R3WGM_DOMAP = 41003;
-
- function mR3WGM_DOMAP(p1, p2, p3) {
- DoA3(this.r3obj, 41003, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Add sub widget. This method is defined by the widget base class but it
- // is actually up to sub classes to implement it. Not all widgets accept sub widgets.
- // Returns: Boolean, true if succeeded
- // p3: Object, sub widget to be added.
-
- R3WGM_ADDCHILDREN = 41004;
-
- function mR3WGM_ADDCHILDREN(p3) {
- return DoA(this.r3obj, 41004, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Remove sub widget. These are defined by the widget base class but it is
- // actually up to sub classes to implement these methods. Not all widgets accept sub widgets.
- // Returns: Boolean, true
- // p3: Object, sub widget to be removed.
-
- R3WGM_REMCHILDREN = 41005;
-
- function mR3WGM_REMCHILDREN(p3) {
- return DoA(this.r3obj, 41005, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Realize all widgets.
-
- R3WGM_REALIZE = 41006;
-
- function mR3WGM_REALIZE() {
- DoA(this.r3obj, 41006, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Converts window coordinates to screen coordinates
-
- R3WGM_WINDOWTOSCREEN = 41008;
-
- function mR3WGM_WINDOWTOSCREEN() {
- DoA(this.r3obj, 41008, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Converts screen coordinates to window coordinates
-
- R3WGM_SCREENTOWINDOW = 41009;
-
- function mR3WGM_SCREENTOWINDOW() {
- DoA(this.r3obj, 41009, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Compute new size for the widget. This method should be called whenever size of
- // one of the childrens has changed.
- // p3: Integer, see parameter codes below
-
- R3WGM_FIT = 41010;
-
- function mR3WGM_FIT(p3) {
- DoA(this.r3obj, 41010, p3, R3TID_INTEGER, 0);
- }
-
- // Description: sets the keyboard focus to the widget
- // Virtual method
-
- R3WGM_SETFOCUS = 41011;
-
- function mR3WGM_SETFOCUS() {
- DoA(this.r3obj, 41011, 0, R3TID_INTEGER, 0);
- }
-
- // Description: sets the keyboard focus to the widget that had it before previous R3WGM_SETFOCUS
- // Virtual method
-
- R3WGM_RESTOREFOCUS = 41012;
-
- function mR3WGM_RESTOREFOCUS() {
- DoA(this.r3obj, 41012, 0, R3TID_INTEGER, 0);
- }
-
-
- R3WGM_PASSEVENTUP = 41013;
-
- function mR3WGM_PASSEVENTUP() {
- DoA(this.r3obj, 41013, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Sent to drag source widget when dragging is started.
- // Returns: Object, whatever drag source specific data. This data should be passed to DRAGDROP and CANDROP
- // methods in 'p1' field.
-
- R3WGM_DRAGSTART = 41014;
-
- function mR3WGM_DRAGSTART() {
- return DoA(this.r3obj, 41014, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Sent to 'drop target' widget when the user 'drops' the object. * Widget class sends
- // the actual drop method registered by the R3WGA_DropMth attribute * to the object registered by the
- // R3WGA_DropTargetObj attribute.
- // Returns: Boolean, if true, the dropped data was succesfully handled. If FALSE, the widget class deletes
- // the object from the 'drag&drop' buffer.
- // p1: Object, object to be dropped
-
- R3WGM_DRAGDROP = 41015;
-
- function mR3WGM_DRAGDROP(p1) {
- return DoA2(this.r3obj, 41015, p1, R3TID_OBJECT, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Sent to drop target to query if it recognizes the object to be dropped. *
- // Widget class sends the actual candrop method registered by the R3WGA_CanDropMth attribute * to the object
- // registered by the R3WGA_DropTargetObj attribute.
- // Returns: Boolean, TRUE if drop target can handle the given object
- // p1: Object, object to be dropped
-
- R3WGM_CANDROP = 41016;
-
- function mR3WGM_CANDROP(p1) {
- return DoA2(this.r3obj, 41016, p1, R3TID_OBJECT, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Send to 'drag source' when drag&drop finished
-
- R3WGM_DRAGEND = 41017;
-
- function mR3WGM_DRAGEND() {
- DoA(this.r3obj, 41017, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Send to 'drag source' when drag&drop cancelled.
-
- R3WGM_DRAGCANCEL = 41018;
-
- function mR3WGM_DRAGCANCEL() {
- DoA(this.r3obj, 41018, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Detach widget from parent. Sent when a widget wants to delete itself.
-
- R3WGM_DETACH = 41019;
-
- function mR3WGM_DETACH() {
- DoA(this.r3obj, 41019, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Moves the widget on top of its siblings.
-
- R3WGM_MOVETOFRONT = 41020;
-
- function mR3WGM_MOVETOFRONT() {
- DoA(this.r3obj, 41020, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Moves the widget below its siblings.
-
- R3WGM_MOVETOBACK = 41021;
-
- function mR3WGM_MOVETOBACK() {
- DoA(this.r3obj, 41021, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Construct a name which identifies the widget. The constructed string is of form '/root
- // window/child window/.../control'.
- // Returns: Boolean, true if succeeded, false for buffer overflow
- // p1: Integer, size of the buffer
- // p3: String, buffer to the name to be constructed.
-
- R3WGM_MAKENAME = 41022;
-
- function mR3WGM_MAKENAME(p1, p3) {
- return DoA2(this.r3obj, 41022, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: find a widget by name. Name string is of form '/root window/child window/...'.
- // Returns: Object, address of the widget if found, otherwise NULL.
- // p3: String, pointer to name string
-
- R3WGM_FINDBYNAME = 41023;
-
- function mR3WGM_FINDBYNAME(p3) {
- return R3ToJS( DoA(this.r3obj, 41023, p3, R3TID_STRING, 0));
- }
-
- // Description: Sent to 'drop target' widget when the user 'drops' the object.
- // Returns: Boolean, if true, the dropped data was succesfully handled.
- // p1: Object, object to be dropped. The drop target uses R3ObjectIsOfKind() to check whether it can
- // receive the object to be dropped.
- // p3: Object, sibling widget
-
- R3WGM_DRAGDROPBYSIBLING = 41024;
-
- function mR3WGM_DRAGDROPBYSIBLING(p1, p3) {
- return DoA2(this.r3obj, 41024, p1, R3TID_OBJECT, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Gets expand flags
- // Returns: Boolean, combination of expand flags (see below)
- // p3: Integer, orientation the flags are requested for (R3WGORIENTATION_VERTICAL or R3WGORIENTATION_HORIZONTAL)
-
- R3WGM_GETEXPANDFLAGS = 41025;
-
- function mR3WGM_GETEXPANDFLAGS(p3) {
- return DoA(this.r3obj, 41025, p3, R3TID_INTEGER, 0);
- }
-
- // Description: find a widget by name. Name string is of form '/root window/child window/.../widget'. Only
- // the last component of the name is checked for match. Therefore the widget may be
- // anywhere in the gui hierarchy.
- // Returns: Object, address of the widget if found, otherwise NULL.
- // p3: String, pointer to name string
-
- R3WGM_FINDBYNAMEANYWHERE = 41026;
-
- function mR3WGM_FINDBYNAMEANYWHERE(p3) {
- return R3ToJS( DoA(this.r3obj, 41026, p3, R3TID_STRING, 0));
- }
-
- // Description: Begin subwindow scrolling
- // p1: Integer, x screen coordinate
- // p3: Integer, y screen coordinate
-
- R3WGM_RMBBEGINSCROLL = 41027;
-
- function mR3WGM_RMBBEGINSCROLL(p1, p3) {
- DoA2(this.r3obj, 41027, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Scroll subwindow
- // p1: Integer, x screen coordinate
- // p3: Integer, y screen coordinate
-
- R3WGM_RMBSCROLL = 41028;
-
- function mR3WGM_RMBSCROLL(p1, p3) {
- DoA2(this.r3obj, 41028, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: End subwindow scrolling
- // p1: Integer, x screen coordinate
- // p3: Integer, y screen coordinate
-
- R3WGM_RMBENDSCROLL = 41029;
-
- function mR3WGM_RMBENDSCROLL(p1, p3) {
- DoA2(this.r3obj, 41029, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Find out whether the widget is truely visible i.e. all the parents of the
- // widget are visible.
- // Returns: Boolean, true if visible, FALSE if invisible
-
- R3WGM_ISVISIBLE = 41030;
-
- function mR3WGM_ISVISIBLE() {
- return DoA(this.r3obj, 41030, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Register a handler to determine where a widget can be dropped.
- // Returns: Boolean, true if successful
- // p1: Integer, clid of the widget to be dropped
- // p2: Object, handler
- // p3: Integer, handler method
-
- R3WGCM_REGISTERCANDROPTOHAND = 41031;
-
- function mR3WGCM_REGISTERCANDROPTOHAND(p1, p2, p3) {
- return DoA3(this.r3obj, 41031, p1, R3TID_INTEGER, 0, p2, R3TID_OBJECT, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: The palette used has changed. The widget should recalculate any indices to the palette.
- // Returns: Object, TRUE
-
- R3WGM_PALETTECHANGED = 41032;
-
- function mR3WGM_PALETTECHANGED() {
- return DoA(this.r3obj, 41032, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Open context sensitive help for the gadget passed as msg.
- // Returns: Object, TRUE
- // p3: Object, gadget to open the context sensitive help for.
-
- R3WGM_CONTEXTSENSITIVEHELP = 41033;
-
- function mR3WGM_CONTEXTSENSITIVEHELP(p3) {
- return DoA(this.r3obj, 41033, p3, R3TID_OBJECT, 0);
- }
-
-
-
-
- R3WGA_Parent = 41500;
- function SetR3WGA_Parent(value) {
- R3Set(this.r3obj, R3WGA_Parent, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_Parent() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_Parent, R3TID_OBJECT, 0));
- }
-
- R3WGA_Left = 41501;
- function SetR3WGA_Left(value) {
- R3Set(this.r3obj, R3WGA_Left, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_Left() {
- return R3Get(this.r3obj, R3WGA_Left, R3TID_INTEGER, 0);
- }
-
- R3WGA_Top = 41502;
- function SetR3WGA_Top(value) {
- R3Set(this.r3obj, R3WGA_Top, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_Top() {
- return R3Get(this.r3obj, R3WGA_Top, R3TID_INTEGER, 0);
- }
-
- R3WGA_Width = 41503;
- function SetR3WGA_Width(value) {
- R3Set(this.r3obj, R3WGA_Width, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_Width() {
- return R3Get(this.r3obj, R3WGA_Width, R3TID_INTEGER, 0);
- }
-
- R3WGA_Height = 41504;
- function SetR3WGA_Height(value) {
- R3Set(this.r3obj, R3WGA_Height, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_Height() {
- return R3Get(this.r3obj, R3WGA_Height, R3TID_INTEGER, 0);
- }
-
- R3WGA_MinWidth = 41505;
- function SetR3WGA_MinWidth(value) {
- R3Set(this.r3obj, R3WGA_MinWidth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_MinWidth() {
- return R3Get(this.r3obj, R3WGA_MinWidth, R3TID_INTEGER, 0);
- }
-
- R3WGA_MinHeight = 41506;
- function SetR3WGA_MinHeight(value) {
- R3Set(this.r3obj, R3WGA_MinHeight, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_MinHeight() {
- return R3Get(this.r3obj, R3WGA_MinHeight, R3TID_INTEGER, 0);
- }
-
- R3WGA_RecommendedMinWidth = 41507;
- function SetR3WGA_RecommendedMinWidth(value) {
- R3Set(this.r3obj, R3WGA_RecommendedMinWidth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_RecommendedMinWidth() {
- return R3Get(this.r3obj, R3WGA_RecommendedMinWidth, R3TID_INTEGER, 0);
- }
-
- R3WGA_RecommendedMinHeight = 41508;
- function SetR3WGA_RecommendedMinHeight(value) {
- R3Set(this.r3obj, R3WGA_RecommendedMinHeight, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_RecommendedMinHeight() {
- return R3Get(this.r3obj, R3WGA_RecommendedMinHeight, R3TID_INTEGER, 0);
- }
-
- R3WGA_AlignX = 41509;
- function SetR3WGA_AlignX(value) {
- R3Set(this.r3obj, R3WGA_AlignX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_AlignX() {
- return R3Get(this.r3obj, R3WGA_AlignX, R3TID_INTEGER, 0);
- }
-
- R3WGA_AlignY = 41510;
- function SetR3WGA_AlignY(value) {
- R3Set(this.r3obj, R3WGA_AlignY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_AlignY() {
- return R3Get(this.r3obj, R3WGA_AlignY, R3TID_INTEGER, 0);
- }
-
- R3WGA_Visible = 41511;
- function SetR3WGA_Visible(value) {
- R3Set(this.r3obj, R3WGA_Visible, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_Visible() {
- return R3Get(this.r3obj, R3WGA_Visible, R3TID_INTEGER, 0);
- }
-
- R3WGA_UserData = 41512;
- function SetR3WGA_UserData(value) {
- R3Set(this.r3obj, R3WGA_UserData, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_UserData() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_UserData, R3TID_OBJECT, 0));
- }
-
- R3WGA_Font = 41513;
- function SetR3WGA_Font(value) {
- R3Set(this.r3obj, R3WGA_Font, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_Font() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_Font, R3TID_OBJECT, 0));
- }
-
- var R3WGA_MapToObj = 41514; // Object
- var R3WGA_MapFromTag = 41515; // Integer
- var R3WGA_MapToTag = 41516; // Integer
- var R3WGA_MapToMethod = 41517; // Integer
- R3WGA_ModelTag = 41519;
- function SetR3WGA_ModelTag(value) {
- R3Set(this.r3obj, R3WGA_ModelTag, value, R3TID_INTEGER, 0);
- }
-
- R3WGA_ModelMethod = 41520;
- function SetR3WGA_ModelMethod(value) {
- R3Set(this.r3obj, R3WGA_ModelMethod, value, R3TID_INTEGER, 0);
- }
-
- R3WGA_FrameWidth = 41521;
- function SetR3WGA_FrameWidth(value) {
- R3Set(this.r3obj, R3WGA_FrameWidth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_FrameWidth() {
- return R3Get(this.r3obj, R3WGA_FrameWidth, R3TID_INTEGER, 0);
- }
-
- R3WGA_FrameWidthLeft = 41522;
- function SetR3WGA_FrameWidthLeft(value) {
- R3Set(this.r3obj, R3WGA_FrameWidthLeft, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_FrameWidthLeft() {
- return R3Get(this.r3obj, R3WGA_FrameWidthLeft, R3TID_INTEGER, 0);
- }
-
- R3WGA_FrameWidthTop = 41523;
- function SetR3WGA_FrameWidthTop(value) {
- R3Set(this.r3obj, R3WGA_FrameWidthTop, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_FrameWidthTop() {
- return R3Get(this.r3obj, R3WGA_FrameWidthTop, R3TID_INTEGER, 0);
- }
-
- R3WGA_FrameWidthRight = 41524;
- function SetR3WGA_FrameWidthRight(value) {
- R3Set(this.r3obj, R3WGA_FrameWidthRight, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_FrameWidthRight() {
- return R3Get(this.r3obj, R3WGA_FrameWidthRight, R3TID_INTEGER, 0);
- }
-
- R3WGA_FrameWidthBottom = 41525;
- function SetR3WGA_FrameWidthBottom(value) {
- R3Set(this.r3obj, R3WGA_FrameWidthBottom, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_FrameWidthBottom() {
- return R3Get(this.r3obj, R3WGA_FrameWidthBottom, R3TID_INTEGER, 0);
- }
-
- R3WGA_SetOnChildren = 41526;
- function GetR3WGA_SetOnChildren() {
- return R3Get(this.r3obj, R3WGA_SetOnChildren, R3TID_BOOLEAN, 0);
- }
-
- R3WGA_Cursor = 41527;
- function GetR3WGA_Cursor() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_Cursor, R3TID_OBJECT, 0));
- }
-
- R3WGA_MsgPort = 41528;
- function SetR3WGA_MsgPort(value) {
- R3Set(this.r3obj, R3WGA_MsgPort, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_MsgPort() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_MsgPort, R3TID_OBJECT, 0));
- }
-
- R3WGA_Menu = 41529;
- function SetR3WGA_Menu(value) {
- R3Set(this.r3obj, R3WGA_Menu, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_Menu() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_Menu, R3TID_OBJECT, 0));
- }
-
- R3WGA_AllParentsVisible = 41530;
- function GetR3WGA_AllParentsVisible() {
- return R3Get(this.r3obj, R3WGA_AllParentsVisible, R3TID_BOOLEAN, 0);
- }
-
- R3WGA_DragSourceObj = 41531;
- function SetR3WGA_DragSourceObj(value) {
- R3Set(this.r3obj, R3WGA_DragSourceObj, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_DragSourceObj() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_DragSourceObj, R3TID_OBJECT, 0));
- }
-
- R3WGA_DragSourceMth = 41532;
- function SetR3WGA_DragSourceMth(value) {
- R3Set(this.r3obj, R3WGA_DragSourceMth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_DragSourceMth() {
- return R3Get(this.r3obj, R3WGA_DragSourceMth, R3TID_INTEGER, 0);
- }
-
- R3WGA_DragSourceData = 41533;
- function SetR3WGA_DragSourceData(value) {
- R3Set(this.r3obj, R3WGA_DragSourceData, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_DragSourceData() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_DragSourceData, R3TID_OBJECT, 0));
- }
-
- R3WGA_DropTargetObj = 41534;
- function SetR3WGA_DropTargetObj(value) {
- R3Set(this.r3obj, R3WGA_DropTargetObj, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_DropTargetObj() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_DropTargetObj, R3TID_OBJECT, 0));
- }
-
- R3WGA_CanDropMth = 41535;
- function SetR3WGA_CanDropMth(value) {
- R3Set(this.r3obj, R3WGA_CanDropMth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_CanDropMth() {
- return R3Get(this.r3obj, R3WGA_CanDropMth, R3TID_INTEGER, 0);
- }
-
- R3WGA_DropMth = 41536;
- function SetR3WGA_DropMth(value) {
- R3Set(this.r3obj, R3WGA_DropMth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_DropMth() {
- return R3Get(this.r3obj, R3WGA_DropMth, R3TID_INTEGER, 0);
- }
-
- R3WGA_DropTargetData = 41537;
- function SetR3WGA_DropTargetData(value) {
- R3Set(this.r3obj, R3WGA_DropTargetData, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_DropTargetData() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_DropTargetData, R3TID_OBJECT, 0));
- }
-
- R3WGA_Children = 41538;
- function GetR3WGA_Children() {
- return R3Get(this.r3obj, R3WGA_Children, R3TID_LIST, R3TNF_ARRAY);
- }
-
- R3WGA_Extension = 41539;
- function SetR3WGA_Extension(value) {
- R3Set(this.r3obj, R3WGA_Extension, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_Extension() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_Extension, R3TID_OBJECT, 0));
- }
-
- R3WGA_DragSourceCancelMth = 41541;
- function SetR3WGA_DragSourceCancelMth(value) {
- R3Set(this.r3obj, R3WGA_DragSourceCancelMth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_DragSourceCancelMth() {
- return R3Get(this.r3obj, R3WGA_DragSourceCancelMth, R3TID_INTEGER, 0);
- }
-
- R3WGA_DragSourceEndMth = 41542;
- function SetR3WGA_DragSourceEndMth(value) {
- R3Set(this.r3obj, R3WGA_DragSourceEndMth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_DragSourceEndMth() {
- return R3Get(this.r3obj, R3WGA_DragSourceEndMth, R3TID_INTEGER, 0);
- }
-
- R3WGA_Manager = 41543;
- function SetR3WGA_Manager(value) {
- R3Set(this.r3obj, R3WGA_Manager, value, R3TID_OBJECT, 0);
- }
-
- function GetR3WGA_Manager() {
- return R3ToJS(R3Get(this.r3obj, R3WGA_Manager, R3TID_OBJECT, 0));
- }
-
- R3WGA_Realized = 41544;
- function GetR3WGA_Realized() {
- return R3Get(this.r3obj, R3WGA_Realized, R3TID_BOOLEAN, 0);
- }
-
- R3WGA_DropBySiblingMth = 41545;
- function SetR3WGA_DropBySiblingMth(value) {
- R3Set(this.r3obj, R3WGA_DropBySiblingMth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_DropBySiblingMth() {
- return R3Get(this.r3obj, R3WGA_DropBySiblingMth, R3TID_INTEGER, 0);
- }
-
- R3WGA_Orientation = 41546;
- function SetR3WGA_Orientation(value) {
- R3Set(this.r3obj, R3WGA_Orientation, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_Orientation() {
- return R3Get(this.r3obj, R3WGA_Orientation, R3TID_INTEGER, 0);
- }
-
- R3WGA_ExpandX = 41547;
- function SetR3WGA_ExpandX(value) {
- R3Set(this.r3obj, R3WGA_ExpandX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_ExpandX() {
- return R3Get(this.r3obj, R3WGA_ExpandX, R3TID_INTEGER, 0);
- }
-
- R3WGA_ExpandY = 41548;
- function SetR3WGA_ExpandY(value) {
- R3Set(this.r3obj, R3WGA_ExpandY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_ExpandY() {
- return R3Get(this.r3obj, R3WGA_ExpandY, R3TID_INTEGER, 0);
- }
-
- R3WGA_AutoOrientate = 41549;
- function SetR3WGA_AutoOrientate(value) {
- R3Set(this.r3obj, R3WGA_AutoOrientate, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_AutoOrientate() {
- return R3Get(this.r3obj, R3WGA_AutoOrientate, R3TID_INTEGER, 0);
- }
-
- R3WGA_OffsetX = 41550;
- function SetR3WGA_OffsetX(value) {
- R3Set(this.r3obj, R3WGA_OffsetX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_OffsetX() {
- return R3Get(this.r3obj, R3WGA_OffsetX, R3TID_INTEGER, 0);
- }
-
- R3WGA_OffsetY = 41551;
- function SetR3WGA_OffsetY(value) {
- R3Set(this.r3obj, R3WGA_OffsetY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_OffsetY() {
- return R3Get(this.r3obj, R3WGA_OffsetY, R3TID_INTEGER, 0);
- }
-
- R3WGA_ModelIndex = 41553;
- function SetR3WGA_ModelIndex(value) {
- R3Set(this.r3obj, R3WGA_ModelIndex, value, R3TID_INTEGER, 0);
- }
-
- R3WGA_FitCode = 41555;
- function SetR3WGA_FitCode(value) {
- R3Set(this.r3obj, R3WGA_FitCode, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_FitCode() {
- return R3Get(this.r3obj, R3WGA_FitCode, R3TID_INTEGER, 0);
- }
-
- R3WGA_DynamicExpandX = 41556;
- function SetR3WGA_DynamicExpandX(value) {
- R3Set(this.r3obj, R3WGA_DynamicExpandX, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_DynamicExpandX() {
- return R3Get(this.r3obj, R3WGA_DynamicExpandX, R3TID_INTEGER, 0);
- }
-
- R3WGA_DynamicExpandY = 41557;
- function SetR3WGA_DynamicExpandY(value) {
- R3Set(this.r3obj, R3WGA_DynamicExpandY, value, R3TID_INTEGER, 0);
- }
-
- function GetR3WGA_DynamicExpandY() {
- return R3Get(this.r3obj, R3WGA_DynamicExpandY, R3TID_INTEGER, 0);
- }
-
- R3WGA_HelpURL = 41558;
- function SetR3WGA_HelpURL(value) {
- R3Set(this.r3obj, R3WGA_HelpURL, value, R3TID_STRING, 0);
- }
-
- function GetR3WGA_HelpURL() {
- return R3Get(this.r3obj, R3WGA_HelpURL, R3TID_STRING, 0);
- }
-
- R3WGA_AlignXOffset = 41559;
- function SetR3WGA_AlignXOffset(value) {
- R3Set(this.r3obj, R3WGA_AlignXOffset, value, R3TID_INTEGER, 0);
- }
-
- R3WGA_AlignYOffset = 41560;
- function SetR3WGA_AlignYOffset(value) {
- R3Set(this.r3obj, R3WGA_AlignYOffset, value, R3TID_INTEGER, 0);
- }
-
- var R3WGMAPTYPE_VALUE = 0;
- var R3WGMAPTYPE_EVENT = 1;
- var R3WGORIENTATION_VERTICAL = 0;
- var R3WGORIENTATION_HORIZONTAL = 1;
- var R3WFP_BESTFIT = 0;
- var R3WFP_LARGESTFIT = 1;
- var R3WFP_BESTWIDTH = 2;
- var R3WFP_BESTHEIGHT = 3;
- var R3WFP_BYFITCODE = 4;
- var R3WGEXPAND_WIDTH = 1;
- var R3WGEXPAND_HEIGHT = 2;
-
-
- function r3Widget () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_WIDGET, arguments);
- }
- // Methods
- this.REFRESH=mR3WGM_REFRESH;
- this.MAPCHANGES=mR3WGM_MAPCHANGES;
- this.UNMAPCHANGES=mR3WGM_UNMAPCHANGES;
- this.DOMAP=mR3WGM_DOMAP;
- this.ADDCHILDREN=mR3WGM_ADDCHILDREN;
- this.REMCHILDREN=mR3WGM_REMCHILDREN;
- this.REALIZE=mR3WGM_REALIZE;
- this.WINDOWTOSCREEN=mR3WGM_WINDOWTOSCREEN;
- this.SCREENTOWINDOW=mR3WGM_SCREENTOWINDOW;
- this.FIT=mR3WGM_FIT;
- this.SETFOCUS=mR3WGM_SETFOCUS;
- this.RESTOREFOCUS=mR3WGM_RESTOREFOCUS;
- this.PASSEVENTUP=mR3WGM_PASSEVENTUP;
- this.DRAGSTART=mR3WGM_DRAGSTART;
- this.DRAGDROP=mR3WGM_DRAGDROP;
- this.CANDROP=mR3WGM_CANDROP;
- this.DRAGEND=mR3WGM_DRAGEND;
- this.DRAGCANCEL=mR3WGM_DRAGCANCEL;
- this.DETACH=mR3WGM_DETACH;
- this.MOVETOFRONT=mR3WGM_MOVETOFRONT;
- this.MOVETOBACK=mR3WGM_MOVETOBACK;
- this.MAKENAME=mR3WGM_MAKENAME;
- this.FINDBYNAME=mR3WGM_FINDBYNAME;
- this.DRAGDROPBYSIBLING=mR3WGM_DRAGDROPBYSIBLING;
- this.GETEXPANDFLAGS=mR3WGM_GETEXPANDFLAGS;
- this.FINDBYNAMEANYWHERE=mR3WGM_FINDBYNAMEANYWHERE;
- this.RMBBEGINSCROLL=mR3WGM_RMBBEGINSCROLL;
- this.RMBSCROLL=mR3WGM_RMBSCROLL;
- this.RMBENDSCROLL=mR3WGM_RMBENDSCROLL;
- this.ISVISIBLE=mR3WGM_ISVISIBLE;
- this.REGISTERCANDROPTOHAND=mR3WGCM_REGISTERCANDROPTOHAND;
- this.PALETTECHANGED=mR3WGM_PALETTECHANGED;
- this.CONTEXTSENSITIVEHELP=mR3WGM_CONTEXTSENSITIVEHELP;
-
- // Attributes
- this.GetParent=GetR3WGA_Parent;
- this.SetParent=SetR3WGA_Parent;
- this.GetLeft=GetR3WGA_Left;
- this.SetLeft=SetR3WGA_Left;
- this.GetTop=GetR3WGA_Top;
- this.SetTop=SetR3WGA_Top;
- this.GetWidth=GetR3WGA_Width;
- this.SetWidth=SetR3WGA_Width;
- this.GetHeight=GetR3WGA_Height;
- this.SetHeight=SetR3WGA_Height;
- this.GetMinWidth=GetR3WGA_MinWidth;
- this.SetMinWidth=SetR3WGA_MinWidth;
- this.GetMinHeight=GetR3WGA_MinHeight;
- this.SetMinHeight=SetR3WGA_MinHeight;
- this.GetRecommendedMinWidth=GetR3WGA_RecommendedMinWidth;
- this.SetRecommendedMinWidth=SetR3WGA_RecommendedMinWidth;
- this.GetRecommendedMinHeight=GetR3WGA_RecommendedMinHeight;
- this.SetRecommendedMinHeight=SetR3WGA_RecommendedMinHeight;
- this.GetAlignX=GetR3WGA_AlignX;
- this.SetAlignX=SetR3WGA_AlignX;
- this.GetAlignY=GetR3WGA_AlignY;
- this.SetAlignY=SetR3WGA_AlignY;
- this.GetVisible=GetR3WGA_Visible;
- this.SetVisible=SetR3WGA_Visible;
- this.GetUserData=GetR3WGA_UserData;
- this.SetUserData=SetR3WGA_UserData;
- this.GetFont=GetR3WGA_Font;
- this.SetFont=SetR3WGA_Font;
- this.SetModelTag=SetR3WGA_ModelTag;
- this.SetModelMethod=SetR3WGA_ModelMethod;
- this.GetFrameWidth=GetR3WGA_FrameWidth;
- this.SetFrameWidth=SetR3WGA_FrameWidth;
- this.GetFrameWidthLeft=GetR3WGA_FrameWidthLeft;
- this.SetFrameWidthLeft=SetR3WGA_FrameWidthLeft;
- this.GetFrameWidthTop=GetR3WGA_FrameWidthTop;
- this.SetFrameWidthTop=SetR3WGA_FrameWidthTop;
- this.GetFrameWidthRight=GetR3WGA_FrameWidthRight;
- this.SetFrameWidthRight=SetR3WGA_FrameWidthRight;
- this.GetFrameWidthBottom=GetR3WGA_FrameWidthBottom;
- this.SetFrameWidthBottom=SetR3WGA_FrameWidthBottom;
- this.GetSetOnChildren=GetR3WGA_SetOnChildren;
- this.GetCursor=GetR3WGA_Cursor;
- this.GetMsgPort=GetR3WGA_MsgPort;
- this.SetMsgPort=SetR3WGA_MsgPort;
- this.GetMenu=GetR3WGA_Menu;
- this.SetMenu=SetR3WGA_Menu;
- this.GetAllParentsVisible=GetR3WGA_AllParentsVisible;
- this.GetDragSourceObj=GetR3WGA_DragSourceObj;
- this.SetDragSourceObj=SetR3WGA_DragSourceObj;
- this.GetDragSourceMth=GetR3WGA_DragSourceMth;
- this.SetDragSourceMth=SetR3WGA_DragSourceMth;
- this.GetDragSourceData=GetR3WGA_DragSourceData;
- this.SetDragSourceData=SetR3WGA_DragSourceData;
- this.GetDropTargetObj=GetR3WGA_DropTargetObj;
- this.SetDropTargetObj=SetR3WGA_DropTargetObj;
- this.GetCanDropMth=GetR3WGA_CanDropMth;
- this.SetCanDropMth=SetR3WGA_CanDropMth;
- this.GetDropMth=GetR3WGA_DropMth;
- this.SetDropMth=SetR3WGA_DropMth;
- this.GetDropTargetData=GetR3WGA_DropTargetData;
- this.SetDropTargetData=SetR3WGA_DropTargetData;
- this.GetChildren=GetR3WGA_Children;
- this.GetExtension=GetR3WGA_Extension;
- this.SetExtension=SetR3WGA_Extension;
- this.GetDragSourceCancelMth=GetR3WGA_DragSourceCancelMth;
- this.SetDragSourceCancelMth=SetR3WGA_DragSourceCancelMth;
- this.GetDragSourceEndMth=GetR3WGA_DragSourceEndMth;
- this.SetDragSourceEndMth=SetR3WGA_DragSourceEndMth;
- this.GetManager=GetR3WGA_Manager;
- this.SetManager=SetR3WGA_Manager;
- this.GetRealized=GetR3WGA_Realized;
- this.GetDropBySiblingMth=GetR3WGA_DropBySiblingMth;
- this.SetDropBySiblingMth=SetR3WGA_DropBySiblingMth;
- this.GetOrientation=GetR3WGA_Orientation;
- this.SetOrientation=SetR3WGA_Orientation;
- this.GetExpandX=GetR3WGA_ExpandX;
- this.SetExpandX=SetR3WGA_ExpandX;
- this.GetExpandY=GetR3WGA_ExpandY;
- this.SetExpandY=SetR3WGA_ExpandY;
- this.GetAutoOrientate=GetR3WGA_AutoOrientate;
- this.SetAutoOrientate=SetR3WGA_AutoOrientate;
- this.GetOffsetX=GetR3WGA_OffsetX;
- this.SetOffsetX=SetR3WGA_OffsetX;
- this.GetOffsetY=GetR3WGA_OffsetY;
- this.SetOffsetY=SetR3WGA_OffsetY;
- this.SetModelIndex=SetR3WGA_ModelIndex;
- this.GetFitCode=GetR3WGA_FitCode;
- this.SetFitCode=SetR3WGA_FitCode;
- this.GetDynamicExpandX=GetR3WGA_DynamicExpandX;
- this.SetDynamicExpandX=SetR3WGA_DynamicExpandX;
- this.GetDynamicExpandY=GetR3WGA_DynamicExpandY;
- this.SetDynamicExpandY=SetR3WGA_DynamicExpandY;
- this.GetHelpURL=GetR3WGA_HelpURL;
- this.SetHelpURL=SetR3WGA_HelpURL;
- this.SetAlignXOffset=SetR3WGA_AlignXOffset;
- this.SetAlignYOffset=SetR3WGA_AlignYOffset;
- }
-
- r3Widget.prototype=new r3Root;
- // r3widget.h_H